import java.util.Scanner;
/**
 * Calculator 类
 * 输入：两个int类型整数
 * 输出：两个数的和、差、积、商、余数
 * Date: 2025-09-18
 * Version: 1.0
 * Author: Lou
 */
public class Calculator1 {
    public static void main(String[] args) {
        // 1. 输入两个int类型数据
        Scanner scanner = new Scanner(System.in);
        int num1 = scanner.nextInt();
        int num2 = scanner.nextInt();

        // 2. 计算并输出两个数的加减乘除及取余操作结果
        int sum = num1 + num2;
        int difference = num1 - num2;
        int product = num1 * num2;
        int quotient = num1 / num2;
        int remainder = num1 % num2;

        System.out.println("和：" + sum);
        System.out.println("差：" + difference);
        System.out.println("积：" + product);
        System.out.println("商：" + quotient);
        System.out.println("余数：" + remainder);

        scanner.close();
    }
}
